<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1-20130512"/>
<title>3D Cell: csg_type.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3D Cell
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1-20130512 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">csg_type.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="csg__type_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef CSG_TYPE_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CSG_TYPE_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="common_8h.html">common.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="code" href="class_vertex3.html">   16</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="code" href="class_vertex3.html#ae253ac94450df1b71e7b524e9eccbe8b">   20</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_vertex3.html#ae253ac94450df1b71e7b524e9eccbe8b" title="Position of the vertex. ">pos</a>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="class_vertex3.html#aed7483dfd4c6275c93cfa846c824d7bc">   23</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_vertex3.html#aed7483dfd4c6275c93cfa846c824d7bc" title="Normal of the vertex. ">normal</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a>(<a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> _pos, <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> _normal);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <span class="keywordtype">void</span> invert();</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a> interpolate(<a class="code" href="class_vertex3.html" title="A Vertex3 class. ">Vertex3</a> a, <span class="keywordtype">double</span> t);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_a_a_b_b_box.html">   49</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_a_a_b_b_box.html#a9930a034b8f8b00e7976bfd8ad910719">   53</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_a_a_b_b_box.html#a9930a034b8f8b00e7976bfd8ad910719" title="The minimum position. ">aabb_min</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="class_a_a_b_b_box.html#a4f4e5369d3d3ab1d0783ecdfddc3dc6c">   56</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_a_a_b_b_box.html#a4f4e5369d3d3ab1d0783ecdfddc3dc6c" title="The maximum position. ">aabb_max</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a>();</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a>(<a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> _aabb_min, <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> _aabb_max);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">void</span> addAABB(<a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a> box);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordtype">bool</span> AABBIntersectAABB(<a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a> box);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;};</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_my_polygon.html">   88</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_my_polygon.html" title="A polygon class. ">MyPolygon</a></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_my_polygon.html#a2f9e9b51636d034a7bfedaefdb779d3a">   92</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_my_polygon.html#a2f9e9b51636d034a7bfedaefdb779d3a" title="The normal of the polygon. ">normal</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_my_polygon.html#a26030d5e4b329b159a92a908af03364d">   95</a></span>&#160;    <a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a> <a class="code" href="class_my_polygon.html#a26030d5e4b329b159a92a908af03364d" title="The bounding box of this polygon. ">box</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_my_polygon.html#a385fecc2be056e66ef767cf1c7672faa">   98</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_my_polygon.html#a385fecc2be056e66ef767cf1c7672faa" title="The plane position of the polygon in plane function ax+by+cz+w=0. ">w</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_my_polygon.html#afb7e046580ed46eb8f242f916d3ba5a8">  101</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_my_polygon.html#afb7e046580ed46eb8f242f916d3ba5a8" title="All polygons that are clones of each other or were split from the same polygon will have the same sha...">share</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_my_polygon.html#aadfabb5de0ca01b232a6b5faa78ed4f4">  104</a></span>&#160;    vector&lt;Vertex3&gt; <a class="code" href="class_my_polygon.html#aadfabb5de0ca01b232a6b5faa78ed4f4" title="All the vertices which represnet this polygon. The vertices in a polygon must be coplanar and form a ...">vertices</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <a class="code" href="class_my_polygon.html" title="A polygon class. ">MyPolygon</a>(vector&lt;Vertex3&gt; _vertices,<span class="keywordtype">double</span> _share);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <a class="code" href="class_my_polygon.html" title="A polygon class. ">MyPolygon</a>* clone();</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordtype">void</span> invert();</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordtype">void</span> update();</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;};</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_plane.html">  127</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_plane.html" title="A plane class. ">Plane</a></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;{</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_plane.html#a338da57ef85d4d8d32d80a8674e90ab7">  131</a></span>&#160;    <a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> <a class="code" href="class_plane.html#a338da57ef85d4d8d32d80a8674e90ab7" title="The normal of the plane. ">normal</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="class_plane.html#a2eb55b72cfed8e065ea2bd71a3b01db2">  134</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_plane.html#a2eb55b72cfed8e065ea2bd71a3b01db2" title="The position of the plane in function ax+by+cz+w=0. ">w</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="class_plane.html" title="A plane class. ">Plane</a>(<a class="code" href="class_vector3.html" title="A Vector3 class. ">Vector3</a> _normal,<span class="keywordtype">double</span> _w);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <a class="code" href="class_plane.html" title="A plane class. ">Plane</a>* clone();</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordtype">void</span> invert();</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordtype">void</span> splitPolygon(<a class="code" href="class_my_polygon.html" title="A polygon class. ">MyPolygon</a> *polygon, vector&lt;MyPolygon&gt; &amp;coplanarFront, vector&lt;MyPolygon&gt; &amp;coplanarBack, vector&lt;MyPolygon&gt; &amp;front, vector&lt;MyPolygon&gt; &amp;back);</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;};</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_node.html">  164</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_node.html" title="A tree class. ">Node</a></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;{</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_node.html#aa921afbb8445aadf634d6b5bd9a3e80a">  168</a></span>&#160;    <a class="code" href="class_plane.html" title="A plane class. ">Plane</a>* <a class="code" href="class_node.html#aa921afbb8445aadf634d6b5bd9a3e80a" title="The split plane of this node. ">plane</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_node.html#abf02cf739e251d070b594c309e3c3abe">  171</a></span>&#160;    <a class="code" href="class_a_a_b_b_box.html" title="A Axis-aligned bounding box class. ">AABBBox</a> <a class="code" href="class_node.html#abf02cf739e251d070b594c309e3c3abe" title="The bounding box of this node. ">box</a>;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_node.html#a82314cc3080f09d4aa0b271cbcc1a5fa">  174</a></span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>* <a class="code" href="class_node.html#a82314cc3080f09d4aa0b271cbcc1a5fa" title="The front child. ">front</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="class_node.html#ab33aad003480968839f7344f3c31bbc1">  177</a></span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>* <a class="code" href="class_node.html#ab33aad003480968839f7344f3c31bbc1" title="The back child. ">back</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_node.html#aa6473d6e4a1c6372681c91a4400e8dd7">  180</a></span>&#160;    vector&lt;MyPolygon&gt; <a class="code" href="class_node.html#aa6473d6e4a1c6372681c91a4400e8dd7" title="Polygons in thie node. ">polygons</a>;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>(vector&lt;MyPolygon&gt; polygons);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>(<a class="code" href="class_node.html" title="A tree class. ">Node</a>* n);</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>();</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <a class="code" href="class_node.html" title="A tree class. ">Node</a>* clone();</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keywordtype">void</span> invert();</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    vector&lt;MyPolygon&gt; clipPolygons(vector&lt;MyPolygon&gt; polygons);</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    <span class="keywordtype">void</span> clipTo(<a class="code" href="class_node.html" title="A tree class. ">Node</a>* bsp);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    vector&lt;MyPolygon&gt; allPolygons();</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">void</span> build(vector&lt;MyPolygon&gt; polygons);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;};</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#endif // CSG_TYPE_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jul 9 2013 15:49:57 for 3D Cell by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1-20130512
</small></address>
</body>
</html>
